package com.yigerende.dao;


import com.yigerende.model.User;
import org.springframework.data.jpa.repository.JpaRepository;



/*控制层直接调用这个接口就可以到service业务层*/
public interface UserRepository extends JpaRepository<User,Long> {

    public User findByUsernameAndPassword(String username,String password);
}
